#include "datamanager.hpp"

int main(int argc, char* argv[])
{
    using namespace Cloud;
    if(argc == 2)
        FileInfo f(argv[1]);
    else if(argc == 3)
    {
        DataManager::getInstance()->insert(FileInfo(argv[1]));
        DataManager::getInstance()->insert(FileInfo(argv[2]));
        std::vector<FileInfo> arr;
        DataManager::getInstance()->getFileInfo(&arr);
        for(const auto& e : arr)
            std::cout << e._backPath << std::endl;
    }
    return 0;
}